package com.ita.pojo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonProperty;

public class Merchant {
	private String id;
	private String name;
	@JsonProperty("store_name")
	private String storeName;
	@JsonProperty("pwd")
	private String password;
	private String idcard;
	private String img;
	private String address;
	private Integer state = 0;
	private Integer block = 0;
	@JsonProperty("submit_time")
	private long subTime = new Date().getTime();
	@JsonProperty("verify_time")
	private long verifyTime;
	private String msg;
	private Integer seq;

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public Merchant(String id, String name, String storeName, String password,
			String idcard, String img, String address, Integer state,
			Integer block, long subTime, long verifyTime) {
		super();
		this.id = id;
		this.name = name;
		this.storeName = storeName;
		this.password = password;
		this.idcard = idcard;
		this.img = img;
		this.address = address;
		this.state = state;
		this.block = block;
		this.subTime = subTime;
		this.verifyTime = verifyTime;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public long getVerifyTime() {
		return verifyTime;
	}

	public void setVerifyTime(long verifyTime) {
		this.verifyTime = verifyTime;
	}

	public long getSubTime() {
		return subTime;
	}

	public void setSubTime(long subTime) {
		this.subTime = subTime;
	}

	public Merchant() {
		super();
		// TODO Auto-generated constructor stub
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getBlock() {
		return block;
	}

	public void setBlock(Integer block) {
		this.block = block;
	}

}
